Skip to content

fix: Apply FOV from previously-saved JSON files#389

Open
Thibaulltt wants to merge 2 commits intonmwsharp:masterfrom
Thibaulltt:fix-fov-not-applied
Open

fix: Apply FOV from previously-saved JSON files#389
Thibaulltt wants to merge 2 commits intonmwsharp:masterfrom
Thibaulltt:fix-fov-not-applied

Conversation

@Thibaulltt
Copy link

It really bothered me that my FOV (and thus, the zoom) was not applied when loading a previously saved view JSON file. Found it was a typo in the deserialization :)

It should work for both the C++ and python functions, as long as polyscope-py gets a bump in its dependencies.

@Thibaulltt
Copy link
Author

I also noticed the wrong FOV was applied if you try to fly to the saved JSON view parameters, instead of applying them directly. Fixed in a4535be.

@nmwsharp
Copy link
Owner

Thanks for catching this! Is it good to go on your end now?

@Thibaulltt
Copy link
Author

Yes! I would love to include a bit more info in the saved JSON, but that'll be for another week if I still need it then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants